package com.java.sevice;

import com.java.bean.BillType;
import com.java.dao.TypeMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author: YNB
 * @Description:
 * @Date Created in 2021-01-02 9:22
 * @Modified By:
 */
@Service
public class TypeService {
    @Resource
    private TypeMapper typeMapper;

    public List<BillType> list() {
        return typeMapper.selectAll();
    }
}
